home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1995-06-29 | 4.1 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Thu Jun 29 20:34:27 1995, modified Thu Jun 29 20:34:27 1995, creator 'MPS ', type ASCII, 3487 bytes "SelectFolder.c" , at 0xe1f 428 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 53 65 6c 65 63 74 | 46 6f 6c 64 65 72 2e 63 |..Select|Folder.c|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 0d 9f 00 | 00 01 ac ac 18 f7 13 ac |........|........|
|00000060| 18 f7 13 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 aa fe 00 00 |........|........|
|00000080| 2f 2a 20 53 65 6c 65 63 | 74 46 6f 6c 64 65 72 2e |/* Selec|tFolder.|
|00000090| 63 3a 20 55 74 69 6c 69 | 74 79 20 53 74 61 6e 64 |c: Utili|ty Stand|
|000000a0| 61 72 64 20 46 69 6c 65 | 20 66 6f 6c 64 65 72 20 |ard File| folder |
|000000b0| 73 65 6c 65 63 74 69 6f | 6e 20 72 6f 75 74 69 6e |selectio|n routin|
|000000c0| 65 73 20 66 6f 72 20 50 | 72 6f 6a 65 63 74 44 72 |es for P|rojectDr|
|000000d0| 61 67 2e 0d 20 2a 20 43 | 6f 70 69 65 64 20 66 72 |ag.. * C|opied fr|
|000000e0| 6f 6d 20 49 6e 73 69 64 | 65 20 4d 61 63 69 6e 74 |om Insid|e Macint|
|000000f0| 6f 73 68 3a 20 46 69 6c | 65 73 2e 20 4e 6f 74 20 |osh: Fil|es. Not |
|00000100| 79 65 74 20 75 73 65 64 | 20 69 6e 20 50 72 6f 6a |yet used| in Proj|
|00000110| 65 63 74 44 72 61 67 2e | 0d 20 2a 0d 20 2a 20 41 |ectDrag.|. *. * A|
|00000120| 20 73 65 74 20 6f 66 20 | 61 70 70 6c 65 74 73 20 | set of |applets |
|00000130| 66 6f 72 20 64 72 61 67 | 20 61 6e 64 20 64 72 6f |for drag| and dro|
|00000140| 70 20 73 6f 75 72 63 65 | 20 63 6f 6e 74 72 6f 6c |p source| control|
|00000150| 20 62 79 20 54 69 6d 20 | 4d 61 72 6f 6e 65 79 2e | by Tim |Maroney.|
|00000160| 0d 20 2a 20 53 65 65 20 | 64 65 76 65 6c 6f 70 2c |. * See |develop,|
|00000170| 20 69 73 73 75 65 20 32 | 33 20 66 6f 72 20 64 65 | issue 2|3 for de|
|00000180| 74 61 69 6c 73 2e 0d 20 | 2a 0d 20 2a 20 42 75 69 |tails.. |*. * Bui|
|00000190| 6c 74 20 6f 6e 20 44 72 | 6f 70 53 68 65 6c 6c 20 |lt on Dr|opShell |
|000001a0| 62 79 20 4c 65 6f 6e 61 | 72 64 20 52 6f 73 65 6e |by Leona|rd Rosen|
|000001b0| 74 68 6f 6c 2c 20 53 74 | 65 70 68 61 6e 20 53 6f |thol, St|ephan So|
|000001c0| 6d 6f 67 79 69 2c 20 61 | 6e 64 20 4d 61 72 73 68 |mogyi, a|nd Marsh|
|000001d0| 61 6c 6c 20 43 6c 6f 77 | 2c 0d 20 2a 20 61 6e 64 |all Clow|,. * and|
|000001e0| 20 75 73 69 6e 67 20 74 | 68 65 20 4d 6f 72 65 46 | using t|he MoreF|
|000001f0| 69 6c 65 73 20 75 74 69 | 6c 69 74 69 65 73 20 62 |iles uti|lities b|
|00000200| 79 20 4a 69 6d 20 4c 75 | 74 68 65 72 2e 0d 20 2a |y Jim Lu|ther.. *|
|00000210| 0d 20 2a 20 54 68 69 73 | 20 73 6f 66 74 77 61 72 |. * This| softwar|
|00000220| 65 20 69 73 20 66 72 65 | 65 2c 20 62 75 74 20 64 |e is fre|e, but d|
|00000230| 6f 6e 27 74 20 6d 6f 64 | 69 66 79 20 61 6e 64 20 |on't mod|ify and |
|00000240| 72 65 64 69 73 74 72 69 | 62 75 74 65 20 69 74 20 |redistri|bute it |
|00000250| 77 69 74 68 6f 75 74 0d | 20 2a 20 63 68 61 6e 67 |without.| * chang|
|00000260| 69 6e 67 20 74 68 65 20 | 73 74 61 74 75 73 20 77 |ing the |status w|
|00000270| 69 6e 64 6f 77 20 74 6f | 20 69 6e 64 69 63 61 74 |indow to| indicat|
|00000280| 65 20 79 6f 75 72 20 6e | 61 6d 65 20 61 6e 64 20 |e your n|ame and |
|00000290| 79 6f 75 72 20 63 68 61 | 6e 67 65 73 21 0d 20 2a |your cha|nges!. *|
|000002a0| 2f 0d 20 0d 23 69 6e 63 | 6c 75 64 65 20 3c 54 79 |/. .#inc|lude <Ty|
|000002b0| 70 65 73 2e 68 3e 0d 23 | 69 6e 63 6c 75 64 65 20 |pes.h>.#|include |
|000002c0| 3c 53 74 61 6e 64 61 72 | 64 46 69 6c 65 2e 68 3e |<Standar|dFile.h>|
|000002d0| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 51 75 69 63 6b |.#includ|e <Quick|
|000002e0| 44 72 61 77 2e 68 3e 0d | 23 69 6e 63 6c 75 64 65 |Draw.h>.|#include|
|000002f0| 20 3c 54 65 78 74 55 74 | 69 6c 73 2e 68 3e 0d 0d | <TextUt|ils.h>..|
|00000300| 0d 53 74 72 32 35 35 20 | 67 50 72 65 76 53 65 6c |.Str255 |gPrevSel|
|00000310| 65 63 74 65 64 4e 61 6d | 65 3b 0d 42 6f 6f 6c 65 |ectedNam|e;.Boole|
|00000320| 61 6e 20 67 44 69 72 53 | 65 6c 65 63 74 69 6f 6e |an gDirS|election|
|00000330| 46 6c 61 67 3b 0d 0d 0d | 70 61 73 63 61 6c 20 42 |Flag;...|pascal B|
|00000340| 6f 6f 6c 65 61 6e 20 4d | 79 43 75 73 74 6f 6d 46 |oolean M|yCustomF|
|00000350| 69 6c 65 46 69 6c 74 65 | 72 28 43 49 6e 66 6f 50 |ileFilte|r(CInfoP|
|00000360| 42 50 74 72 20 70 62 2c | 20 50 74 72 20 6d 79 44 |BPtr pb,| Ptr myD|
|00000370| 61 74 61 50 74 72 29 0d | 7b 0d 23 70 72 61 67 6d |ataPtr).|{.#pragm|
|00000380| 61 20 75 6e 75 73 65 64 | 20 28 6d 79 44 61 74 61 |a unused| (myData|
|00000390| 50 74 72 29 0d 09 72 65 | 74 75 72 6e 20 28 70 62 |Ptr)..re|turn (pb|
|000003a0| 2d 3e 68 46 69 6c 65 49 | 6e 66 6f 2e 69 6f 46 6c |->hFileI|nfo.ioFl|
|000003b0| 41 74 74 72 69 62 20 26 | 20 30 78 31 30 29 20 3d |Attrib &| 0x10) =|
|000003c0| 3d 20 30 3b 0d 7d 0d 0d | 76 6f 69 64 20 53 65 74 |= 0;.}..|void Set|
|000003d0| 42 75 74 74 6f 6e 54 69 | 74 6c 65 28 43 6f 6e 74 |ButtonTi|tle(Cont|
|000003e0| 72 6f 6c 48 61 6e 64 6c | 65 20 62 75 74 74 6f 6e |rolHandl|e button|
|000003f0| 2c 20 53 74 72 69 6e 67 | 50 74 72 20 6e 61 6d 65 |, String|Ptr name|
|00000400| 2c 20 52 65 63 74 20 2a | 62 75 74 74 6f 6e 52 65 |, Rect *|buttonRe|
|00000410| 63 74 29 0d 7b 0d 09 73 | 68 6f 72 74 20 72 65 73 |ct).{..s|hort res|
|00000420| 75 6c 74 2c 20 77 69 64 | 74 68 3b 0d 09 53 74 72 |ult, wid|th;..Str|
|00000430| 32 35 35 20 74 69 74 6c | 65 3b 0d 09 0d 09 42 6c |255 titl|e;....Bl|
|00000440| 6f 63 6b 4d 6f 76 65 44 | 61 74 61 28 6e 61 6d 65 |ockMoveD|ata(name|
|00000450| 2c 20 67 50 72 65 76 53 | 65 6c 65 63 74 65 64 4e |, gPrevS|electedN|
|00000460| 61 6d 65 2c 20 6e 61 6d | 65 5b 30 5d 20 2b 20 31 |ame, nam|e[0] + 1|
|00000470| 29 3b 0d 09 77 69 64 74 | 68 20 3d 20 28 62 75 74 |);..widt|h = (but|
|00000480| 74 6f 6e 52 65 63 74 2d | 3e 6c 65 66 74 20 2d 20 |tonRect-|>left - |
|00000490| 62 75 74 74 6f 6e 52 65 | 63 74 2d 3e 72 69 67 68 |buttonRe|ct->righ|
|000004a0| 74 29 0d 09 09 09 2d 20 | 28 53 74 72 69 6e 67 57 |t)....- |(StringW|
|000004b0| 69 64 74 68 28 22 53 65 | 6c 65 63 74 20 5c 22 5c |idth("Se|lect \"\|
|000004c0| 22 22 29 20 2b 20 43 68 | 61 72 57 69 64 74 68 28 |"") + Ch|arWidth(|
|000004d0| 27 20 27 29 29 3b 0d 09 | 72 65 73 75 6c 74 20 3d |' '));..|result =|
|000004e0| 20 54 72 75 6e 63 53 74 | 72 69 6e 67 28 77 69 64 | TruncSt|ring(wid|
|000004f0| 74 68 2c 20 6e 61 6d 65 | 2c 20 73 6d 54 72 75 6e |th, name|, smTrun|
|00000500| 63 4d 69 64 64 6c 65 29 | 3b 0d 09 74 69 74 6c 65 |cMiddle)|;..title|
|00000510| 5b 30 5d 20 3d 20 30 3b | 0d 09 41 70 70 65 6e 64 |[0] = 0;|..Append|
|00000520| 53 74 72 69 6e 67 28 74 | 69 74 6c 65 2c 20 22 53 |String(t|itle, "S|
|00000530| 65 6c 65 63 74 20 5c 22 | 22 29 3b 0d 09 41 70 70 |elect \"|");..App|
|00000540| 65 6e 64 53 74 72 69 6e | 67 28 74 69 74 6c 65 2c |endStrin|g(title,|
|00000550| 20 6e 61 6d 65 29 3b 0d | 09 41 70 70 65 6e 64 53 | name);.|.AppendS|
|00000560| 74 72 69 6e 67 28 74 69 | 74 6c 65 2c 20 22 5c 22 |tring(ti|tle, "\"|
|00000570| 22 29 3b 0d 09 53 65 74 | 43 54 69 74 6c 65 28 62 |");..Set|CTitle(b|
|00000580| 75 74 74 6f 6e 2c 20 74 | 69 74 6c 65 29 3b 0d 09 |utton, t|itle);..|
|00000590| 56 61 6c 69 64 52 65 63 | 74 28 62 75 74 74 6f 6e |ValidRec|t(button|
|000005a0| 52 65 63 74 29 3b 0d 7d | 0d 0d 23 64 65 66 69 6e |Rect);.}|..#defin|
|000005b0| 65 20 6b 47 65 74 44 69 | 72 42 54 4e 20 31 30 0d |e kGetDi|rBTN 10.|
|000005c0| 0d 70 61 73 63 61 6c 20 | 73 68 6f 72 74 20 4d 79 |.pascal |short My|
|000005d0| 44 6c 67 48 6f 6f 6b 28 | 73 68 6f 72 74 20 69 74 |DlgHook(|short it|
|000005e0| 65 6d 2c 20 44 69 61 6c | 6f 67 50 74 72 20 74 68 |em, Dial|ogPtr th|
|000005f0| 65 44 69 61 6c 6f 67 2c | 20 50 74 72 20 6d 79 44 |eDialog,| Ptr myD|
|00000600| 61 74 61 50 74 72 29 0d | 7b 0d 09 73 68 6f 72 74 |ataPtr).|{..short|
|00000610| 20 6d 79 54 79 70 65 3b | 0d 09 48 61 6e 64 6c 65 | myType;|..Handle|
|00000620| 20 6d 79 48 61 6e 64 6c | 65 3b 0d 09 52 65 63 74 | myHandl|e;..Rect|
|00000630| 20 6d 79 52 65 63 74 3b | 0d 09 53 74 72 32 35 35 | myRect;|..Str255|
|00000640| 20 6d 79 4e 61 6d 65 3b | 0d 09 43 49 6e 66 6f 50 | myName;|..CInfoP|
|00000650| 42 52 65 63 20 6d 79 50 | 42 3b 0d 09 53 74 61 6e |BRec myP|B;..Stan|
|00000660| 64 61 72 64 46 69 6c 65 | 52 65 70 6c 79 20 2a 6d |dardFile|Reply *m|
|00000670| 79 53 46 52 50 74 72 3b | 0d 09 4f 53 45 72 72 20 |ySFRPtr;|..OSErr |
|00000680| 6d 79 45 72 72 3b 0d 09 | 73 68 6f 72 74 20 6d 79 |myErr;..|short my|
|00000690| 52 65 74 75 72 6e 56 61 | 6c 75 65 20 3d 20 69 74 |ReturnVa|lue = it|
|000006a0| 65 6d 3b 0d 09 0d 09 69 | 66 20 28 47 65 74 57 52 |em;....i|f (GetWR|
|000006b0| 65 66 43 6f 6e 28 74 68 | 65 44 69 61 6c 6f 67 29 |efCon(th|eDialog)|
|000006c0| 20 21 3d 20 73 66 4d 61 | 69 6e 44 69 61 6c 6f 67 | != sfMa|inDialog|
|000006d0| 52 65 66 43 6f 6e 29 0d | 09 09 72 65 74 75 72 6e |RefCon).|..return|
|000006e0| 20 6d 79 52 65 74 75 72 | 6e 56 61 6c 75 65 3b 0d | myRetur|nValue;.|
|000006f0| 09 0d 09 47 65 74 44 49 | 74 65 6d 28 74 68 65 44 |...GetDI|tem(theD|
|00000700| 69 61 6c 6f 67 2c 20 6b | 47 65 74 44 69 72 42 54 |ialog, k|GetDirBT|
|00000710| 4e 2c 20 26 6d 79 54 79 | 70 65 2c 20 26 6d 79 48 |N, &myTy|pe, &myH|
|00000720| 61 6e 64 6c 65 2c 20 26 | 6d 79 52 65 63 74 29 3b |andle, &|myRect);|
|00000730| 0d 09 69 66 20 28 69 74 | 65 6d 20 3d 3d 20 73 66 |..if (it|em == sf|
|00000740| 48 6f 6f 6b 46 69 72 73 | 74 43 61 6c 6c 29 0d 09 |HookFirs|tCall)..|
|00000750| 7b 0d 09 09 6d 79 50 42 | 2e 68 46 69 6c 65 49 6e |{...myPB|.hFileIn|
|00000760| 66 6f 2e 69 6f 4e 61 6d | 65 50 74 72 20 3d 20 6d |fo.ioNam|ePtr = m|
|00000770| 79 4e 61 6d 65 3b 0d 09 | 09 6d 79 50 42 2e 68 46 |yName;..|.myPB.hF|
|00000780| 69 6c 65 49 6e 66 6f 2e | 69 6f 56 52 65 66 4e 75 |ileInfo.|ioVRefNu|
|00000790| 6d 20 3d 20 2d 4c 4d 47 | 65 74 53 46 53 61 76 65 |m = -LMG|etSFSave|
|000007a0| 44 69 73 6b 28 29 3b 0d | 09 09 6d 79 50 42 2e 68 |Disk();.|..myPB.h|
|000007b0| 46 69 6c 65 49 6e 66 6f | 2e 69 6f 46 44 69 72 49 |FileInfo|.ioFDirI|
|000007c0| 6e 64 65 78 20 3d 20 2d | 31 3b 0d 09 09 6d 79 50 |ndex = -|1;...myP|
|000007d0| 42 2e 68 46 69 6c 65 49 | 6e 66 6f 2e 69 6f 44 69 |B.hFileI|nfo.ioDi|
|000007e0| 72 49 44 20 3d 20 4c 4d | 47 65 74 43 75 72 44 69 |rID = LM|GetCurDi|
|000007f0| 72 53 74 6f 72 65 28 29 | 3b 0d 09 09 65 72 72 20 |rStore()|;...err |
|00000800| 3d 20 50 42 47 65 74 43 | 61 74 49 6e 66 6f 53 79 |= PBGetC|atInfoSy|
|00000810| 6e 63 28 26 6d 79 50 42 | 29 3b 0d 09 09 53 65 74 |nc(&myPB|);...Set|
|00000820| 42 75 74 74 6f 6e 54 69 | 74 6c 65 28 28 43 6f 6e |ButtonTi|tle((Con|
|00000830| 74 72 6f 6c 48 61 6e 64 | 6c 65 29 6d 79 48 61 6e |trolHand|le)myHan|
|00000840| 64 6c 65 2c 20 6d 79 4e | 61 6d 65 2c 20 26 6d 79 |dle, myN|ame, &my|
|00000850| 52 65 63 74 29 3b 0d 09 | 7d 0d 09 65 6c 73 65 0d |Rect);..|}..else.|
|00000860| 09 7b 0d 09 09 6d 79 53 | 46 52 50 74 72 20 3d 20 |.{...myS|FRPtr = |
|00000870| 28 53 74 61 6e 64 61 72 | 64 46 69 6c 65 52 65 70 |(Standar|dFileRep|
|00000880| 6c 79 2a 29 6d 79 44 61 | 74 61 50 74 72 3b 0d 09 |ly*)myDa|taPtr;..|
|00000890| 09 69 66 20 28 6d 79 53 | 46 52 50 74 72 2d 3e 73 |.if (myS|FRPtr->s|
|000008a0| 66 49 73 46 6f 6c 64 65 | 72 20 7c 7c 20 6d 79 53 |fIsFolde|r || myS|
|000008b0| 46 52 50 74 72 2d 3e 73 | 66 49 73 56 6f 6c 75 6d |FRPtr->s|fIsVolum|
|000008c0| 65 29 0d 09 09 7b 0d 09 | 09 09 42 6c 6f 63 6b 4d |e)...{..|..BlockM|
|000008d0| 6f 76 65 44 61 74 61 28 | 6d 79 53 46 52 50 74 72 |oveData(|mySFRPtr|
|000008e0| 2d 3e 73 66 46 69 6c 65 | 2e 6e 61 6d 65 2c 20 6d |->sfFile|.name, m|
|000008f0| 79 4e 61 6d 65 2c 20 6d | 79 53 46 52 50 74 72 2d |yName, m|ySFRPtr-|
|00000900| 3e 73 66 46 69 6c 65 2e | 6e 61 6d 65 5b 30 5d 20 |>sfFile.|name[0] |
|00000910| 2b 20 31 29 3b 0d 09 09 | 7d 0d 09 09 65 6c 73 65 |+ 1);...|}...else|
|00000920| 0d 09 09 7b 0d 09 09 09 | 6d 79 50 42 2e 68 46 69 |...{....|myPB.hFi|
|00000930| 6c 65 49 6e 66 6f 2e 69 | 6f 4e 61 6d 65 50 74 72 |leInfo.i|oNamePtr|
|00000940| 20 3d 20 6d 79 4e 61 6d | 65 3b 0d 09 09 09 6d 79 | = myNam|e;....my|
|00000950| 50 42 2e 68 46 69 6c 65 | 49 6e 66 6f 2e 69 6f 56 |PB.hFile|Info.ioV|
|00000960| 52 65 66 4e 75 6d 20 3d | 20 6d 79 53 46 52 50 74 |RefNum =| mySFRPt|
|00000970| 72 2d 3e 73 66 46 69 6c | 65 2e 76 52 65 66 4e 75 |r->sfFil|e.vRefNu|
|00000980| 6d 3b 0d 09 09 09 6d 79 | 50 42 2e 68 46 69 6c 65 |m;....my|PB.hFile|
|00000990| 49 6e 66 6f 2e 69 6f 46 | 44 69 72 49 6e 64 65 78 |Info.ioF|DirIndex|
|000009a0| 20 3d 20 2d 31 3b 0d 09 | 09 09 6d 79 50 42 2e 68 | = -1;..|..myPB.h|
|000009b0| 46 69 6c 65 49 6e 66 6f | 2e 69 6f 44 72 44 69 72 |FileInfo|.ioDrDir|
|000009c0| 49 44 20 3d 20 6d 79 53 | 46 52 50 74 72 2d 3e 73 |ID = myS|FRPtr->s|
|000009d0| 66 46 69 6c 65 2e 70 61 | 72 49 44 3b 0d 09 09 09 |fFile.pa|rID;....|
|000009e0| 6d 79 45 72 72 20 3d 20 | 50 42 47 65 74 43 61 74 |myErr = |PBGetCat|
|000009f0| 49 6e 66 6f 53 79 6e 63 | 28 26 6d 79 50 42 29 3b |InfoSync|(&myPB);|
|00000a00| 0d 09 09 09 69 66 20 28 | 21 45 71 75 61 6c 53 74 |....if (|!EqualSt|
|00000a10| 72 69 6e 67 28 6d 79 4e | 61 6d 65 2c 20 67 50 72 |ring(myN|ame, gPr|
|00000a20| 65 76 53 65 6c 65 63 74 | 65 64 4e 61 6d 65 2c 20 |evSelect|edName, |
|00000a30| 74 72 75 65 2c 20 74 72 | 75 65 29 29 0d 09 09 09 |true, tr|ue))....|
|00000a40| 09 53 65 74 42 75 74 74 | 6f 6e 54 69 74 6c 65 28 |.SetButt|onTitle(|
|00000a50| 28 43 6f 6e 74 72 6f 6c | 48 61 6e 64 6c 65 29 6d |(Control|Handle)m|
|00000a60| 79 48 61 6e 64 6c 65 2c | 20 6d 79 4e 61 6d 65 2c |yHandle,| myName,|
|00000a70| 20 26 6d 79 52 65 63 74 | 29 3b 0d 09 09 09 73 77 | &myRect|);....sw|
|00000a80| 69 74 63 68 20 28 69 74 | 65 6d 29 0d 09 09 09 7b |itch (it|em)....{|
|00000a90| 0d 09 09 09 63 61 73 65 | 20 6b 47 65 74 44 69 72 |....case| kGetDir|
|00000aa0| 42 54 4e 3a 0d 09 09 09 | 09 6d 79 52 65 74 75 72 |BTN:....|.myRetur|
|00000ab0| 6e 56 61 6c 75 65 20 3d | 20 73 66 49 74 65 6d 43 |nValue =| sfItemC|
|00000ac0| 61 6e 63 65 6c 42 75 74 | 74 6f 6e 3b 0d 09 09 09 |ancelBut|ton;....|
|00000ad0| 09 62 72 65 61 6b 3b 0d | 09 09 09 63 61 73 65 20 |.break;.|...case |
|00000ae0| 73 66 49 74 65 6d 43 61 | 6e 63 65 6c 42 75 74 74 |sfItemCa|ncelButt|
|00000af0| 6f 6e 3a 0d 09 09 09 09 | 67 44 69 72 53 65 6c 65 |on:.....|gDirSele|
|00000b00| 63 74 69 6f 6e 46 6c 61 | 67 20 3d 20 66 61 6c 73 |ctionFla|g = fals|
|00000b10| 65 3b 0d 09 09 09 7d 0d | 09 09 7d 0d 09 7d 0d 09 |e;....}.|..}..}..|
|00000b20| 0d 09 72 65 74 75 72 6e | 20 6d 79 52 65 74 75 72 |..return| myRetur|
|00000b30| 6e 56 61 6c 75 65 3b 0d | 7d 0d 0d 23 64 65 66 69 |nValue;.|}..#defi|
|00000b40| 6e 65 20 72 47 65 74 44 | 69 72 65 63 74 6f 72 79 |ne rGetD|irectory|
|00000b50| 44 4c 4f 47 20 31 32 38 | 0d 0d 53 74 61 6e 64 61 |DLOG 128|..Standa|
|00000b60| 72 64 46 69 6c 65 52 65 | 70 6c 79 20 44 6f 47 65 |rdFileRe|ply DoGe|
|00000b70| 74 44 69 72 65 63 74 6f | 72 79 28 76 6f 69 64 29 |tDirecto|ry(void)|
|00000b80| 0d 7b 0d 09 53 74 61 6e | 64 61 72 64 46 69 6c 65 |.{..Stan|dardFile|
|00000b90| 52 65 70 6c 79 20 6d 79 | 52 65 70 6c 79 3b 0d 09 |Reply my|Reply;..|
|00000ba0| 50 6f 69 6e 74 20 6d 79 | 50 6f 69 6e 74 3b 0d 09 |Point my|Point;..|
|00000bb0| 0d 09 67 50 72 65 76 53 | 65 6c 65 63 74 65 64 4e |..gPrevS|electedN|
|00000bc0| 61 6d 65 5b 30 5d 20 3d | 20 30 3b 0d 09 67 44 69 |ame[0] =| 0;..gDi|
|00000bd0| 72 53 65 6c 65 63 74 69 | 6f 6e 46 6c 61 67 20 3d |rSelecti|onFlag =|
|00000be0| 20 74 72 75 65 3b 0d 09 | 6d 79 50 6f 69 6e 74 2e | true;..|myPoint.|
|00000bf0| 68 20 3d 20 6d 79 50 6f | 69 6e 74 2e 76 20 3d 20 |h = myPo|int.v = |
|00000c00| 2d 31 3b 0d 09 0d 09 43 | 75 73 74 6f 6d 47 65 74 |-1;....C|ustomGet|
|00000c10| 46 69 6c 65 28 6d 79 43 | 75 73 74 6f 6d 46 69 6c |File(myC|ustomFil|
|00000c20| 65 46 69 6c 74 65 72 2c | 20 2d 31 2c 20 4e 55 4c |eFilter,| -1, NUL|
|00000c30| 4c 2c 20 26 6d 79 52 65 | 70 6c 79 2c 20 72 47 65 |L, &myRe|ply, rGe|
|00000c40| 74 44 69 72 65 63 74 6f | 72 79 44 4c 4f 47 2c 0d |tDirecto|ryDLOG,.|
|00000c50| 09 09 09 09 09 26 6d 79 | 50 6f 69 6e 74 2c 20 6d |.....&my|Point, m|
|00000c60| 79 44 6c 67 48 6f 6f 6b | 2c 20 4e 55 4c 4c 2c 20 |yDlgHook|, NULL, |
|00000c70| 4e 55 4c 4c 2c 20 4e 55 | 4c 4c 2c 20 26 6d 79 52 |NULL, NU|LL, &myR|
|00000c80| 65 70 6c 79 29 3b 0d 09 | 0d 09 69 66 20 28 67 44 |eply);..|..if (gD|
|00000c90| 69 72 53 65 6c 65 63 74 | 69 6f 6e 46 6c 61 67 29 |irSelect|ionFlag)|
|00000ca0| 0d 09 7b 0d 09 09 6d 79 | 52 65 70 6c 79 2e 73 66 |..{...my|Reply.sf|
|00000cb0| 46 69 6c 65 2e 6e 61 6d | 65 5b 30 5d 20 3d 20 30 |File.nam|e[0] = 0|
|00000cc0| 3b 0d 09 09 69 66 20 28 | 6d 79 52 65 70 6c 79 2e |;...if (|myReply.|
|00000cd0| 73 66 49 73 56 6f 6c 75 | 6d 65 29 0d 09 09 7b 0d |sfIsVolu|me)...{.|
|00000ce0| 09 09 09 53 74 72 32 35 | 35 20 6d 79 4e 61 6d 65 |...Str25|5 myName|
|00000cf0| 3b 0d 09 09 09 6d 79 4e | 61 6d 65 5b 30 5d 20 3d |;....myN|ame[0] =|
|00000d00| 20 30 3b 0d 09 09 09 41 | 70 70 65 6e 64 53 74 72 | 0;....A|ppendStr|
|00000d10| 69 6e 67 28 6d 79 4e 61 | 6d 65 2c 20 6d 79 52 65 |ing(myNa|me, myRe|
|00000d20| 70 6c 79 2e 73 66 46 69 | 6c 65 2e 6e 61 6d 65 29 |ply.sfFi|le.name)|
|00000d30| 3b 0d 09 09 09 41 70 70 | 65 6e 64 53 74 72 69 6e |;....App|endStrin|
|00000d40| 67 28 6d 79 4e 61 6d 65 | 2c 20 22 5c 70 3a 22 29 |g(myName|, "\p:")|
|00000d50| 3b 0d 09 09 09 41 70 70 | 65 6e 64 53 74 72 69 6e |;....App|endStrin|
|00000d60| 67 28 6d 79 52 65 70 6c | 79 2e 73 66 46 69 6c 65 |g(myRepl|y.sfFile|
|00000d70| 2e 6e 61 6d 65 2c 20 6d | 79 4e 61 6d 65 29 3b 0d |.name, m|yName);.|
|00000d80| 09 09 7d 0d 09 09 65 6c | 73 65 20 69 66 20 28 67 |..}...el|se if (g|
|00000d90| 44 69 72 53 65 6c 65 63 | 74 69 6f 6e 46 6c 61 67 |DirSelec|tionFlag|
|00000da0| 29 0d 09 09 7b 0d 09 09 | 09 41 70 70 65 6e 64 53 |)...{...|.AppendS|
|00000db0| 74 72 69 6e 67 28 6d 79 | 52 65 70 6c 79 2e 73 66 |tring(my|Reply.sf|
|00000dc0| 46 69 6c 65 2e 6e 61 6d | 65 2c 20 67 50 72 65 76 |File.nam|e, gPrev|
|00000dd0| 53 65 6c 65 63 74 65 64 | 4e 61 6d 65 29 3b 0d 09 |Selected|Name);..|
|00000de0| 09 7d 0d 09 7d 0d 09 6d | 79 52 65 70 6c 79 2e 73 |.}..}..m|yReply.s|
|00000df0| 66 56 61 6c 69 64 20 3d | 20 67 44 69 72 53 65 6c |fValid =| gDirSel|
|00000e00| 65 63 74 69 6f 6e 46 6c | 61 67 3b 0d 09 72 65 74 |ectionFl|ag;..ret|
|00000e10| 75 72 6e 20 6d 79 52 65 | 70 6c 79 3b 0d 7d 0d 00 |urn myRe|ply;.}..|
|00000e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e80| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00000e90| 20 94 20 52 20 94 20 53 | 21 6c 00 10 00 04 20 52 | . R . S|!l.... R|
|00000ea0| 21 6c 00 10 00 04 4a 2e | 00 08 67 42 55 8f 20 78 |!l....J.|..gBU. x|
|00000eb0| 0e 53 65 6c 65 63 74 46 | 6f 6c 64 65 72 2e 63 6c |.SelectF|older.cl|
|00000ec0| 02 00 00 00 54 45 58 54 | 4d 50 53 20 01 00 ff ff |....TEXT|MPS ....|
|00000ed0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 ff ff ff ff |..TEXTMP|S ......|
|00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ef0| 00 00 ac 16 a8 99 00 00 | 0d 9f 00 00 01 ac 2f 00 |........|....../.|
|00000f00| 2f 2c 00 04 70 f6 ab ed | 3e 1f 55 8f 20 78 02 b6 |/,..p...|>.U. x..|
|00000f10| 20 68 01 18 2f 28 00 88 | 70 02 2f 00 2f 2c 00 04 | h../(..|p././,..|
|00000f20| 70 f6 ab ed 3e 1f 3d 47 | 00 0e 4c ee 1c 80 ff ec |p...>.=G|..L.....|
|00000f30| 4e 5e 20 5f 5c 4f 4e d0 | 4e 56 00 00 42 2e 00 0c |N^ _\ON.|NV..B...|
|00000f40| 4e 5e 2e 9f 4e 75 4e 56 | ff ea 48 e7 1f 38 24 6e |N^..NuNV|..H..8$n|
|00000f50| 00 08 42 6e ff ea 20 0a | 67 0e 4a ae 00 10 67 08 |..Bn.. .|g.J...g.|
|00000f60| 20 52 4a a8 00 40 66 0a | 3d 7c ff ce 00 14 60 00 | RJ..@f.|=|....`.|
|00000f70| 01 40 20 52 26 68 00 40 | 3d 7c 00 01 ff ec 2f 0b |.@ R&h.@|=|..../.|
|00000f80| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 74 61 50 |...H..Mo|naco.taP|
|00000f90| 74 72 29 0d 7b 0d 09 72 | 65 74 75 72 6e 20 21 42 |tr).{..r|eturn !B|
|00000fa0| 69 74 54 65 73 74 00 06 | 00 04 00 3c 00 24 01 dd |itTest..|...<.$..|
|00000fb0| 02 3d 00 3c 00 24 01 dd | 02 3d ac 18 be d3 00 00 |.=.<.$..|.=......|
|00000fc0| 00 00 00 00 02 24 00 00 | 00 00 01 00 00 00 00 1e |.....$..|........|
|00000fd0| 00 3c 00 24 01 dd 02 3d | 00 3c 00 24 01 dd 02 3d |.<.$...=|.<.$...=|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 73 |.....n..|.n...>.s|
|00001000| ac d8 18 fa 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |........|.>..MPSR|
|00001010| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 03 f0 ff ff 00 00 00 4c | 00 74 2d 94 00 00 00 00 |.......L|.t-.....|
|00001030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+